
#ifndef CONFIG_H
#define CONFIG_H

#define GAME_WINDTH  480
#define GAME_HEIGHT  832//尺寸
#define GAME_TITLE "飞机大战"//标题
#define GAME_RES_PATH ":/ph/images/"//zong图片路径
#define GAME_RATE 15

//音乐
#define GAME_BG ":/so/sounds/game_music.wav"


//地图滚动
#define MAP_SPEED 1
#define MAP_PATH ":/ph/images/background.png"

//子弹定义
#define BULLET1_PATH ":/ph/images/bullet1.png"
#define BULLET2_PATH ":/ph/images/bullet2.png"
#define BULLET3_PATH ":/ph/images/bullet2.png"//军火
#define BULLET_SPEED 8
#define BULLET_NUM 150

#define BULLET_TIMEX 8

//敌机
#define ENEMY_PATH1 ":/ph/images/enemy1.png"
#define ENEMY_PATH2 ":/ph/images/enemy2.png"
#define ENEMY_PATH3 ":/ph/images/enemy2_down2.png"
#define ENEMY_SPEED 2
#define ENEMY_NUM 5
#define ENEMY_TIMEX 65

//敌弹


//军火
#define WEAPON_PATH1 ":/ph/images/weapon1.png"
#define WEAPON_PATH2 ":/ph/images/weapon2.png"
#define WEAPON_NUM 1
#define WEAPON_SPEED 3
#define WEAPON_TIMEX 65

#define GAME_OVER ":/ph/images/over.jpg"
#define GAME_WIN  ":/ph/images/win.jpg"

#endif // CONFIG_H
